package net.maku.convert;


import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import net.maku.bean.vo.WebTradeRecordVO;
import net.maku.entity.WebTradeRecordEntity;

import java.util.List;

/**
* 点数使用记录表
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2024-09-02
*/
@Mapper
public interface WebTradeRecordConvert {
    WebTradeRecordConvert INSTANCE = Mappers.getMapper(WebTradeRecordConvert.class);

    WebTradeRecordEntity convert(WebTradeRecordVO vo);

    WebTradeRecordVO convert(WebTradeRecordEntity entity);

    List<WebTradeRecordVO> convertList(List<WebTradeRecordEntity> list);

}



